Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: err msg for eth_callMany #12029

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

rekyyang
Copy link
Contributor

if revert happend in eth_callMany, the error will be included in the normal result rather than error result, and the revert info will be ignored when response marshaling.

current response:
{ ...... "error": {} ...... }

expected response:
{ ...... "error": { "message": "execution reverted: ......", "data": "0x......" } ...... }

@AskAlexSharov AskAlexSharov added the v2.60 related to the Last of Erigon 2 label Oct 16, 2024
@AskAlexSharov AskAlexSharov merged commit a2acb61 into erigontech:main Oct 16, 2024
8 checks passed
@AskAlexSharov
Copy link
Collaborator

@rekyyang do you have any docs/spec link?

@rekyyang
Copy link
Contributor Author

@rekyyang do you have any docs/spec link?

There is no docs/spec, seems like a bug/defeat of the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2.60 related to the Last of Erigon 2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants